From 56c927f938458323874454ec975bdeede22b35e0 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Fri, 8 Aug 2003 22:45:18 +0000 Subject: [PATCH] (print_string): Fix printing of multibyte string with nontrivial printcharfun. --- src/print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/print.c b/src/print.c index e06b8a0052d..2aaec788699 100644 --- a/src/print.c +++ b/src/print.c @@ -506,7 +506,7 @@ print_string (string, printcharfun) for (i = 0; i < size; i++) PRINTCHAR (SREF (string, i)); else - for (i = 0; i < size_byte; i++) + for (i = 0; i < size_byte; ) { /* Here, we must convert each multi-byte form to the corresponding character code before handing it to PRINTCHAR. */ -- 2.30.2